package com.gluck.cases.core.modal.dto;

import com.gluck.cases.core.modal.BaseEntity;

import java.util.Date;

/**
 * @ClassName AdminUserDTO
 * @Desc AdminUserDTO
 * @Author I am Gluck
 * @Date 2022/5/16 - 4:33 下午
 **/
public class AdminUserDTO extends BaseEntity {

    private String username;

    private String password;

    private String salt;

    private Date createdAt;

    private Date updatedAt;

    private Integer isLocked;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public Integer getIsLocked() {
        return isLocked;
    }

    public void setIsLocked(Integer isLocked) {
        this.isLocked = isLocked;
    }

    @Override
    public String toString() {
        return "AdminUserDTO{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", salt='" + salt + '\'' +
                ", createdAt=" + createdAt +
                ", updatedAt=" + updatedAt +
                ", isLocked=" + isLocked +
                '}';
    }
}
